package com.rk.springcron;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;




public class MainSpringCron {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		ApplicationContext applicationContext = new ClassPathXmlApplicationContext("ApplicationContext.xml");
		SpringCron cron =(SpringCron)applicationContext.getBean("springCron");
		cron.demoServiceMethod();
		
		

	}

}
